ioemu: strip tap subtype prefix from image name
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 30 Jan 2008 14:25:55 +0000 (14:25 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 30 Jan 2008 14:25:55 +0000 (14:25 +0000)
commit9239f4852e4a80b2e2475d8f9c92545322db4663
tree41f2875dceffaf2de09f3775d0920eb770296c88
parent5fcfe68304aaddafe0fd6f225b9605897d82035d
ioemu: strip tap subtype prefix from image name

Currently I am not able to mount or boot from an HVM CDROM when it is
configured for 'tap:aio' instead of 'file'.

disk=[ 'tap:aio:/var/lib/xen/images/sles10-sp2-fv/disk0,hda,w', '
       tap:aio:/home/iso/sles/SLES10.iso,hdc:cdrom,r', ]

With this patch I am able to boot from the CDROM and or mount it.

Patch changes xenstore.c:xenstore_process_event() to strip the tap
subtype prefix from the image name.

Signed-off-by: Pat Campbell <plc@novell.com>
tools/ioemu/xenstore.c